home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr46
/
vfwdk.zip
/
INSTALL.BAT
next >
Wrap
DOS Batch File
|
1993-06-24
|
657b
|
31 lines
@echo off
echo off
echo : This program will copy the files that make up the Video for Windows SDK
echo : to your hard drive.
echo :
goto parseargs
:nextarg
shift
:parseargs
if "%1" == "" goto usage
if not "%2" == "" goto usage
goto okay
:usage
echo : Usage: %0 path
echo : E.g.: %0 c:\vfwsdk
goto exit
:okay
vfwsdk -d %1
if errorlevel 1 goto error
echo : Setup succeeded. Add the following lines to your autoexec.bat:
echo : set INCLUDE=%1\inc;[whatever you used to have]
echo : set LIB=%1\lib;[whatever you used to have]
goto exit
:error
echo : !!!
echo : !!! Error copying some files. Setup incomplete.
echo : !!!
:exit